| От | Joel Stevenson |
|---|---|
| Тема | Re: SERIAL Field |
| Дата | |
| Msg-id | a05111709b8fc88c96775@[192.168.1.100] обсуждение исходный текст |
| Ответ на | Re: SERIAL Field ("Dan Langille" <dan@langille.org>) |
| Ответы |
Re: SERIAL Field
|
| Список | pgsql-admin |
> > "You say nextval() + write, I say write + currval()..." > >So long as a given application does not mix the two approaches, everything >should be fine. Though, if you have multiple clients inserting into the table, there is a chance that between client A inserting the record and then calling currval(), client B could have performed an insert, in which case client A gets the value of client B's record. 'nextval() + write' avoids this possible overlap. -- Joel Stevenson Bear River Associates, Inc.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера